package br.com.pucrs.tcc.rn;

import java.util.ArrayList;
//import java.util.List;

import javax.ejb.Remote;

import br.com.pucrs.tcc.ed.AreaInteresse;
import br.com.pucrs.tcc.exception.AreaInteresseException;


@Remote
public interface AreaInteresseRN {
	
	public boolean incluir(AreaInteresse mAreaInteresse) throws AreaInteresseException;
	public boolean alterar(AreaInteresse area) throws AreaInteresseException;
	public boolean remover(AreaInteresse area) throws AreaInteresseException;
	
	public ArrayList<AreaInteresse> lista();
	public ArrayList<AreaInteresse> lista(AreaInteresse area);
	
	public ArrayList<AreaInteresse> listaPorGrupo(Integer idGrupo);
	public ArrayList<AreaInteresse> listaPorGrupo(Integer idGrupo, boolean bNoGrupo);
	public ArrayList<AreaInteresse> listaPorProfessor(String matriculaProfessor);
	public AreaInteresse obter(int id);
	public AreaInteresse salvar(AreaInteresse area) throws AreaInteresseException;
	
	
}
